package stark.app.api;


import android.os.Build;
import android.webkit.WebSettings;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import stark.app.App;
import stark.common.basic.retrofit.BaseApi;

/**
 * <pre>
 *     author : cfans
 *     time   : 2020/10/09
 *     desc   :
 *     version: 1.0
 * </pre>
 */

public class IpQueryApi extends BaseApi {

    /**
     * 静态内部类单例
     */
    private static class ApiHolder {
        private static IpQueryApi sIpQuery = new IpQueryApi();
        private final static IpQueryApiService API_SERVICE = sIpQuery.initRetrofit(IpQueryApiService.BASE_URL)
                .create(IpQueryApiService.class);
    }

    public static IpQueryApiService getInstance() {
        return ApiHolder.API_SERVICE;
    }

    /**
     * 做自己需要的操作
     */
    @Override
    public OkHttpClient setClient() {
        return null;
    }


}
